<?php
header('content-type: application/json');
		
	$arr = array();
	
	if($tenquan)
	{
		foreach($tenquan as $row)
		{
			$arr[] = $row->Quan;
		}
	}

	echo json_encode($arr);
?>